export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  selection: true,
  tip:false,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "column": [
		  {
      "type": "input",
      "label": "手机号",
      "prop": "phone",
        rules: [{
          required: true,
          trigger: "blur",
          validator: (rule, value, callback) => {
            console.log(rule, value, callback)
            var regp = /^1[3|4|5|6|7|8|9]\d{9}$/;
            if (value) {
              if (!regp.test(value)) {
                callback(new Error('手机格式不正确'));
              } else {
                callback();
              }
            } else {
              callback(new Error('请输入手机号'));
            }

          },
        }]

    }, {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      addDisplay: false,
      editDisplay: false,
    }  ]
}
